# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(FacturareContracte)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(FacturareContracte_SRCS facturarecontracteplugin.cpp facturarecontracte.cpp)
QT4_WRAP_CPP(FacturareContracte_SRCS facturarecontracteplugin.h facturarecontracte.h)
QT4_WRAP_UI(FacturareContracte_SRCS facturarecontracte.ui)
QT4_ADD_RESOURCES(FacturareContracte_SRCS facturarecontracte.qrc)

add_library(FacturareContracte SHARED ${FacturareContracte_SRCS})
add_dependencies(FacturareContracte KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(FacturareContracte KontAMabil ${QT_LIBRARIES})

install(TARGETS FacturareContracte ${INSTALL_PLUGINS_DEFAULT_ARGS})
